function [ windowed_array ] = bmWindow2D(array)

[m n] = size(array);
mMask = repmat(blackman(m,'periodic'),1,n);
nMask = repmat(blackman(n,'periodic')',m,1);

windowed_array = mMask.*nMask.*array;

end

